//
//  QDetailNoteOrderCell.m
//  QoilPublic
//
//  Created by 杨凯 on 16/11/23.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import "QDetailNoteOrderCell.h"

@interface QDetailNoteOrderCell()

@property (weak, nonatomic) IBOutlet UILabel *subLabel;


@end
@implementation QDetailNoteOrderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _subLabel.preferredMaxLayoutWidth = kScreenWidth - 35-66;
}

- (void)setModel:(QAllorderListModel *)model{

    _model = model;
    if(_model.remark.length == 0){
    
        _subLabel.text = @"  ";

    }else{
        _subLabel.text = _model.remark;
    }
}


@end
